package demo.vo.common;

public enum BusinessCode {
    OK(0, "OK"),

    BAD(-1, " NOT OK ");

    private int code;
    private String message;

    private BusinessCode(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }

}
